.table-list {
  position:relative;
  :deep(.el-table) {
    // 表格hover效果
    tbody tr:hover > td {
      background-color: #f8fafc !important;
    }

    // 斑马纹样式
    .bg-gray-50 td {
      background-color: #f8fafc;
    }

    // 单元格过渡动画
    td {
      transition: background-color 0.2s ease;
    }

    // 表格边框
    --el-table-border-color: #e2e8f0;

    // 去除表格底部边框
    &::before {
      display: none;
    }

    // 添加新的行背景色样式
    .bgColor {
      td {
        background-color: #E3F0FC !important;
        font-weight: 600 !important;
      }
    }
    .selection {
      background-color: #BFD7ED;
    }
    .JC_Extrusion, .JKJ_Saw, .DR_Pack {
      background-color: #CFE7DD;
    }
    .JC_Extrusion_box, .JKJ_Saw_box, .DR_Pack_box {
      background-color: #CFE7DD;
    }
    .TH_Gluing, .PE {
      background-color: #F3E6C4;
    }
    .TH_Gluing_box, .PE_box {
      background-color: #F3E6C4;
    }

  }
}
.productionLine{
  position: absolute;
  bottom: 66px;
  left: 0;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  justify-content: space-around;
  //border-bottom: 1px solid #f60606;
  .item-one{
    width: 10.6%;
    height: 88px;
    line-height: 88px;
    display: inline-block;
    text-align: center;
    color: #334155;
    font-size: 14px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    box-sizing: border-box;
  }
  .item{
    width: 5.293%;
    height: 88px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    color: #334155;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    padding: 10px;
    overflow: hidden; /* 隐藏超出内容 */
    text-overflow: ellipsis; /* 超出用省略号表示 */
  }
  .item-end{
    flex: 1;
  }

}

.avatar-uploader .avatar {
  width: 178px;
  height: 178px;
  display: block;
}
.avatar-uploader .el-upload {
  border: 1px dashed var(--el-border-color);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--el-transition-duration-fast);
}

.avatar-uploader .el-upload:hover {
  border-color: var(--el-color-primary);
}

.el-icon.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  text-align: center;
}
:deep(.el-upload.el-upload--text) {
  border: 1px dashed #dcdfe6;
}
:deep(.el-select){
  width: 100%;
}
.delete-tag {
  display: block;
  width: 15px;
  height: 15px;
  line-height: 13px;
  text-align: center;
  border-radius: 50%;
  position: absolute; /* 绝对定位 */
  top: 0; /* 从上方的距离 */
  left: 163px; /* 从左侧的距离 */
  background-color: rgba(161, 159, 159, 0.42); /* 红色背景 */
  color: #0c0c0c; /* 白色文字 */
}

.pagination-container {
  margin-top: 12px;
  padding: 8px 0;
  display: flex;
  justify-content: flex-end;
}

:deep(.custom-pagination) {
  --el-pagination-bg-color: transparent;

  .el-pagination__sizes {
    margin-right: 12px;

    .el-input__inner {
      background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
      border: 1px solid #e2e8f0;
      &:hover {
        border-color: #cbd5e1;
      }
    }
  }

  .btn-prev, .btn-next {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    color: #64748b;
    margin: 0 4px;

    &:hover:not(:disabled) {
      color: #1e293b;
      border-color: #cbd5e1;
    }

    &:disabled {
      background: #f1f5f9;
      border-color: #e2e8f0;
      opacity: 0.7;
    }
  }

  .el-pager {
    li {
      background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
      border: 1px solid #e2e8f0;
      color: #64748b;
      margin: 0 2px;
      font-weight: normal;

      &:not(.is-disabled):hover {
        color: #1e293b;
        border-color: #cbd5e1;
      }

      &.is-active {
        background: #1e293b;
        border-color: #1e293b;
        color: white;
      }
    }
  }

  .el-pagination__total {
    color: #64748b;
    margin-right: 12px;
  }

  .el-pagination__jump {
    color: #64748b;
    margin-left: 12px;

    .el-input__inner {
      background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
      border: 1px solid #e2e8f0;
      &:hover {
        border-color: #cbd5e1;
      }
    }
  }
}
